package application;

import java.io.FileOutputStream;

import parser.XML2CSVParser;

public class Main {
	
	public static void main(String args[]) throws Exception{
		String username = "lferrari";
		int numweek = 4;
		//
		String link = "?entities="+username+"&scopeList=position&since="+numweek+"w";
		String filexml = "laura-march.xml";
		String CSV = "laura.csv";
		FileOutputStream xml = new FileOutputStream(filexml);
		//XML2CSVParser.save(link,xml);
		
		XML2CSVParser.parse(link,CSV);
		
		
	}

}
